home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 22 / Cream of the Crop 22.iso / windows / wdj1096.zip / REGMON.ZIP / IOCTLCMD.H < prev    next >
C/C++ Source or Header  |  1996-06-11  |  754b  |  33 lines

  1. //======================================================================
  2. // 
  3. // Ioctlcmd.h
  4. //
  5. // Copyright (C) 1996 Mark Russinovich and Bryce Cogswell
  6. //
  7. // Common header file for device driver and GUI. Contains common
  8. // data structure definitions and IOCTL command codes.
  9. //
  10. //======================================================================
  11.  
  12. // commands that the GUI can send the device driver
  13. enum {
  14.     REGMON_zerostats    = 1,
  15.     REGMON_getstats            = 2,
  16. };
  17.  
  18.  
  19. // format of a data entry
  20. typedef struct {
  21.     unsigned long    seq;
  22.     char    text[0];
  23. } ENTRY, *PENTRY;
  24.  
  25. // size of a storage buffer in bytes
  26. #define MAX_STORE       64*0x1000
  27.  
  28. // define page size for use by GUI
  29. #ifndef PAGE_SIZE
  30. #define PAGE_SIZE 4096
  31. #endif
  32.  
  33.